package com.ruoyi.system.service;

import org.apache.lucene.queryparser.classic.ParseException;

import java.io.IOException;
import java.util.List;

public interface ArticleLuceneService {
    void createIndex( String id, String content) throws IOException;
    void deleteIndex(String id) throws IOException;
    void updateIndex(String id, String content) throws IOException;
    List<String> searchIndexWithPagination(String queryString, int pageNumber, int pageSize) throws IOException, ParseException;
}
